package homework.mapper;

import homework.bean.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StudentMapper {
    //根据id查学生
    @Select("select * from student where tid=#{tid}")
    List<Student> selectById(Integer tid);
}
